<%@ Page Language="C#" MasterPageFile="~/admin/EMP/EMPMP.master" AutoEventWireup="true" CodeFile="create_customer.aspx.cs" Inherits="admin_EMP_create_user" Title="Create new customer" %>

<asp:Content ID="Content1" ContentPlaceHolderID="body_page" Runat="Server">
<asp:Panel ID="pnCreateCustomer" runat="server" Width="100%">
    <table style="width: 100%" class="table2">
    <tr>
            <td>
                Number ID</td>
            <td>
                <asp:TextBox ID="txtNumberID" runat="server" Width="50%"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtNumberID"
                    Display="Dynamic" ErrorMessage="Please input data!"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 30%">
            First name <font style="color:red">(*)</font></td>
            <td style="width: 70%">
                <asp:TextBox ID="txtFname" runat="server" Width="50%"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtFname"
                    Display="Dynamic" ErrorMessage="Please input data!"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td>
            Last name
            </td>
            <td>
                <asp:TextBox ID="txtLname" runat="server" Width="50%"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtLname"
                    Display="Dynamic" ErrorMessage="Please input data!"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td>
                Phone<font style="color:red">(*)</font></td>
            <td>
                <asp:TextBox ID="txtPhone" runat="server" Width="50%"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtPhone"
                    Display="Dynamic" ErrorMessage="Please input data!"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td>
                Address<font style="color:red">(*)</font></td>
            <td>
                <asp:TextBox ID="txtAddress" runat="server" Width="50%"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtAddress"
                    Display="Dynamic" ErrorMessage="Please input data!"></asp:RequiredFieldValidator></td>
        </tr>
        
        <tr>
    <td colspan=2>
    <asp:Button ID="btnCreate"  runat="server" Text="Create" OnClick="btnCreate_Click"/>
        <asp:Label ID="lblThongbao" runat="server"></asp:Label></td>
        </tr>
    </table>
    </asp:Panel>
    <asp:Panel ID="pnInfoCustomer" runat="server" Width="100%" Visible=false>
        <table style="width: 100%" class="table2">
            <tr>
                <td  colspan=2>
                    Info customer</td>
            </tr>
            <tr>
                <td style="width: 30%">
                    User name</td>
                <td style="width: 70%">
                    <asp:Label ID="lblUsername" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 30%">
                    First name</td>
                <td style="width: 70%">
                    <asp:Label ID="lblFname" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 30%">
                    LastName</td>
                <td style="width: 70%">
                    <asp:Label ID="lblLname" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 30%; height: 27px">
                Phone</td>
                <td style="width: 70%; height: 27px">
                    <asp:Label ID="lblPhone" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 30%">
                Address</td>
                <td style="width: 70%">
                    <asp:Label ID="lblAddress" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 30%">
                    Create from branch</td>
                <td style="width: 70%">
                    <asp:Label ID="lblBranch" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 30%">
                </td>
                <td style="width: 70%">
                    <asp:Button ID="btnNext" runat="server" OnClick="btnNext_Click" Text="Create waybill for customer" /></td>
            </tr>
        </table>
    
    </asp:Panel>
</asp:Content>

